package com.shiguiwu.springmybatis.spring.property;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @description: 属性取值@value
 * @author: stone
 * @date: Created by 2021/4/3 19:38
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.spring.property
 */
public class PropertyTests {

    public static void main(String[] args) {

        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(DbConfig.class);
        DbConfig bean = context.getBean(DbConfig.class);

        System.out.println(bean);

    }
}
